#define _CRT_SECURE_NO_WARNINGS 1

int removeDuplicates(int* nums, int numsSize)
{
	int* p1 = nums, * p2 = nums;
	int num = 1;
	for (int i = 0; i < numsSize; i++)
	{
		if (*p2 != *p1)
		{
			*(++p2) = *p1++;
			num++;
		}
		else {
			p1++;
		}
	}
	return num;
}

int main()
{

	int nums1[] = { 1,2,3,0,0 };
	
	return 0;
}